.title-bar {
    -webkit-app-region: drag;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 12px;
    background-color: #fff;
    border-bottom: 1px solid #e8e8e8;
    user-select: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-sizing: border-box;
}

.el-menu-style {
    flex: 1;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
}

.el-menu-style > .ant-menu-item:first-child {
    flex-grow: 1;
}

.right-controls {
    display: flex;
    gap: 8px;
    -webkit-app-region: no-drag;
}

.no-drag-div {
    -webkit-app-region: no-drag;
}

body.dark .title-bar {
    background-color: #222;
    border-bottom: 1px solid #444;
    color: #fff;
}